package com.ny.zmb.openapi.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 会员Token表
 * </p>
 *
 * @author xie
 * @since 2024-10-25
 */
@TableName("pm_user_token")
@ApiModel(value = "PmUserToken对象", description = "会员Token表")
@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
public class PmUserToken implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("Token")
    @TableId("token")
    private String token;

    @ApiModelProperty("会员ID")
    private Integer userId;

    @ApiModelProperty("创建时间")
    private Integer createtime;

    @ApiModelProperty("过期时间")
    private Integer expiretime;

}